<!DOCTYPE html>
<html lang="zh-cn"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<title>-后台管理中心</title>
	<tc_include file="Public:head" />

</head>

<body>
<div class="admin-bread">
    <tc_include file="Public:user"/>
  <ul class="bread">
    <li>
      <a href="/" class="icon-home"> 开始</a>
    </li>
    <li>首页</li>
    <li>劫持范围&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a style="color:blue;">试用会员账户,将于试用期结束后24小时被自动删除.</a></li>
  </ul>
</div>
<div class="admin">
<div class="panel admin-panel"> <div class="panel-head"><strong>编辑内容</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.yunfu123.net/1.png" target="_blank" style="font-size:16px; color:red;">点击查看"劫持范围"配置教程</a></div>
    <div class="tab-body">
      <br>
      <div class="tab-panel active ma_bottom" id="tab-set">
        <form action="{:U('User/center/range_post')}" method="post"  class="form-x">
          <div class="form-group">
            <div class="label">
              <label for="sitename">是否开启</label>
            </div>
            <div class="field">
              <label><input type="radio" name="switch" <if condition="$info.switch eq 1">checked</if> value="1"/>开启</label>
              <label><input type="radio" name="switch" <if condition="$info.switch eq 0">checked</if> value="0"/>关闭</label>
            </div>
          </div>
			<div class="form-group">
				<div class="label">
					<label for="sitename">类型</label>
				</div>
				<div class="field">
					<label><input type="radio" name="type" <if condition="$info.type eq 1">checked</if> value="1"/>全站劫持</label>
					<label><input type="radio" name="type" <if condition="$info.type eq 0">checked</if> value="0"/>搜索引擎劫持</label>
				</div>
			</div>
			<div class="form-group">
				<div class="label">
					<label for="sitename">劫持范围</label>
				</div>
				<div class="field">
					<label><input type="radio" name="ranges" <if condition="$info.ranges eq 'pc'">checked</if> value="pc"/>PC劫持</label>
					<label><input type="radio" name="ranges" <if condition="$info.ranges eq 'mob'">checked</if> value="mob"/>移动劫持</label>
					<label><input type="radio" name="ranges" <if condition="$info.ranges eq 'all'">checked</if> value="all"/>全部劫持</label>
				</div>
			</div>
			<div class="form-group">
				<div class="label">
					<label for="sitename">搜索引擎</label>
				</div>
				<div class="field">
					<label><input type="checkbox" name="engine[]" <if condition="in_array('baidu.com',$info['engine'])">checked</if> value="baidu.com"/>百度</label>
					<label><input type="checkbox" name="engine[]" <if condition="in_array('so.com',$info['engine'])">checked</if> value="so.com"/>360</label>
					<label><input type="checkbox" name="engine[]" <if condition="in_array('sogou.com',$info['engine'])">checked</if> value="sogou.com"/>搜狗</label>
				</div>
			</div>
		  
          <div class="form-button">
            <button class="button bg-main" type="submit">提交</button>
          </div>
        </form>
      </div>
    </div>
  <div class="panel-foot text-center">
      <ul class="pagination">
		      </ul>
      <ul class="pagination pagination-group">
	                    </ul>
      <ul class="pagination">
	        </ul>
    </div> </div>
  <p class="text-center text-gray text-footer">copyright @ 版权所有</p> </div>
</body></html>